<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>北京鸿鑫国际集团有限公司</title>
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../css/base.css"/>
    <link rel="stylesheet" href="../css/common.css"/>
    <link rel="stylesheet" href="../css/schoolJob.css"/>
    <script src="../js/jquery-1.7.2.js"></script>
<!--<script src="../js/otherAll.js"></script> -->
    
    <script type="text/javascript" src="../js/comment/jquery.wty.js"></script>
    <script src="../js/artTemplate-3.0/template.js"></script>
    <script src="../js/page/laypage.js"></script>
    <script src="../js/page/page.js"></script>
    <script type="text/javascript">
    var pageSize = 8; // 定义每页显示n条数据
    var jobCategory = 2021; // 1校招 2社招 3实习  默认校招1

    $(function() {
    	// 初始化函数
    	var initFun = function() {
    		dataListIndex(2021);
    	}
    	initFun();

        ;(function($){
            var aC2Lli=$('#c2Lli li');
            var aC2RD=$('#c2RD ul');

            aC2Lli.click(function(){
                aC2Lli.removeClass('show');
                $(this).addClass('show');
                aC2RD.hide();
                dataListIndex(2021+$(this).index());
               // alert(2021+$(this).index())
                aC2RD.eq($(this).index()).show();
            });
        })(jQuery);
    });
    
    function dataListIndex(jobCat) {
    	dataList(jobCat,"#variety-content"+jobCat,"variety-template"+jobCat);
    }

    function dataList(jobCategory, content, template) {
    	datagrid = $(content).datagrid({
            pageSize: pageSize,
            queryParams: "cid="+jobCategory,
            url: "../../article/pagelist.do",
            pagination: "pagination",
            scriptHtml: template,
            table: "eTableRow",
            isPagination: true
        });
    }
    
    function myClick(id){
    	window.location.href = '../../articledetail/schoolDetail.html?id='+id;
    }
    </script>
</head>
<body>
<div id="xHeader"></div>
<div class="wrap2">
    <div class="content2">
        <div class="listL clearFix">
            <i></i>
            <p>当前位置：专项工作 －> 思想工作</p>
        </div>
        <div class="BBox clearFix">
             <ul class="L" id="c2Lli">
                <li class="show">
                    <p>团建工作<span>＞</span></p>
                </li>
                <li >
                    <p>党建工作<span>＞</span></p>
                </li>
                <li>
                    <p class="pL">工会之窗<span>＞</span></p>
                </li>
            </ul>
            <div class="R">
           <!--  <ul class="CList clearFix">
                <li class="Lli1">招聘岗位</li>
                <li class="Lli2">性别</li>
                <li class="Lli3">招聘人数</li>
                <li class="Lli4">学历要求</li>
                <li class="Lli5">发布时间</li>
            </ul> -->
                
			<div id="c2RD">			
			<ul class="CList2 show">
			<div class="content" id="variety-content2021"></div>
		    <script id="variety-template2021" type="text/html">
					{{each list as value i}}
                    <li class="clearFix" onclick="openUrl('aqjy.html?id={{value.id}}',true);">
						<p class="p1" style="    width: 600px;">{{value.title}}</p>
                        
                        
                        <p class="p5">{{value.createTime}}</p>
                    </li>
                    {{/each}}
			</script>
            </ul>
			<ul class="CList2">
			<div class="content" id="variety-content2022"></div>
		    <script id="variety-template2022" type="text/html">
					{{each list as value i}}
                    <li class="clearFix"  onclick="openUrl('aqjy.html?id={{value.id}}',true);">
						<p class="p1" style="    width: 600px;">{{value.title}}</p>
                       
                        <p class="p5">{{value.createTime}}</p>
                    </li>
                    {{/each}}
			</script>
            </ul>
            <ul class="CList2">
			<div class="content" id="variety-content2023"></div>
		    <script id="variety-template2023" type="text/html">
					{{each list as value i}}
                    <li class="clearFix" onclick="openUrl('aqjy.html?id={{value.id}}',true);">
						<p class="p1" style="    width: 600px;">{{value.title}}</p>
                        
                        <p class="p5">{{value.createTime}}</p>
                    </li>
                    {{/each}}
			</script>
            </ul>
			</div>
            <!-- 分页 -->
            <div style="text-align: center;" class="page" id="pagination"></div>  
             <!-- 
             <div class="listPage clearFix">
                 <p>当前【{{pageNo}}】 共【<span>{{pageCount}}</span>】页</p>
				 <div onclick="javascript:dataList(1,1);">首页</div>
                 <div onclick="javascript:{{if pageNo>1}}dataList({{pageNo-1}},1){{/if}};">上一页</a></div>
                 <div onclick="javascript:{{if pageNo<pageCount}}dataList({{pageNo+1}},1){{/if}};">下一页</a></div>
                 <div onclick="javascript:dataList({{pageCount}},1);">尾页</a></div>
             </div>
             -->
            </div>
        </div>
    </div>
</div>
<div id="xFooter"></div>
<script>
/* 引入头部 */
$.ajax({ url: "../listPage/xHeader.html",async: false,success: function(html){
		$("#xHeader").append(html);
}});
/* 引入底部 */
$.ajax({ url: "../listPage/xFooter.html",async: false,success: function(html){
    	$("#xFooter").append(html);
}});
</script>
</body>
</html>